#include "car_supply_struct_csv.hpp"
#include "type_conversion.hpp"

car_supply_struct_csv::car_supply_struct_csv(std::vector<std::string> const& v)
{
		
   switch(v.size()-1)
   {
		case NOTE: 
			set_name(v[NOTE]);
		case ID:
			set_id(type_conversion<int>::to_number(v[ID]));
			break;
		default: break;
   }
		
//		std::cout << "[car_supply_struct_csv.car_supply_struct_csv] " << *this << std::endl;
}